package com.masterclient.app.modules.coupon.beans;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/8/7 16:27
 * 功能说明：
 */

public class RedPackedDetailBean{


    /**
     * code : 0
     * msg : success
     * data : {"sh_payment":"红包","sh_create_at":"2017-08-07 14:25:57","sh_procuct_price":"36","sh_shipping_total":5,"sh_discount_total":"15","sh_bupiao_total":26,"sh_balance_total":0,"sh_subtotal":26,"sh_orders":[{"sh_id":120,"sh_order_no":"O201708071425572120","sh_seller":{"sh_id":21,"sh_store_name":"马迭尔","sh_status":1},"sh_products":[{"sh_id":149,"sh_product_id":578,"sh_name":"秒杀测试请勿改修3","sh_sku":6767676,"sh_image":"http://img1.shihanbainian.com/upload_dev/product/f/9/0/f905176a0bb09c0a90a7f5bf27c5bcc1.jpg","sh_property":[{"sh_attribute_label":"颜色","sh_alias_name":"灰色"},{"sh_attribute_label":"尺寸","sh_alias_name":"M"}],"sh_buy_qty":3,"sh_price":"12","sh_aftersale_status":0,"sh_aftersale_status_label":"无售后"}]}]}
     * args : {"cart_num":0,"is_vip":0}
     */

    private String code;
    private String msg;
    private DataBean data;
    private ArgsBean args;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public ArgsBean getArgs() {
        return args;
    }

    public void setArgs(ArgsBean args) {
        this.args = args;
    }

    public static class DataBean {
        /**
         * sh_payment : 红包
         * sh_create_at : 2017-08-07 14:25:57
         * sh_procuct_price : 36
         * sh_shipping_total : 5
         * sh_discount_total : 15
         * sh_bupiao_total : 26
         * sh_balance_total : 0
         * sh_subtotal : 26
         * sh_orders : [{"sh_id":120,"sh_order_no":"O201708071425572120","sh_seller":{"sh_id":21,"sh_store_name":"马迭尔","sh_status":1},"sh_products":[{"sh_id":149,"sh_product_id":578,"sh_name":"秒杀测试请勿改修3","sh_sku":6767676,"sh_image":"http://img1.shihanbainian.com/upload_dev/product/f/9/0/f905176a0bb09c0a90a7f5bf27c5bcc1.jpg","sh_property":[{"sh_attribute_label":"颜色","sh_alias_name":"灰色"},{"sh_attribute_label":"尺寸","sh_alias_name":"M"}],"sh_buy_qty":3,"sh_price":"12","sh_aftersale_status":0,"sh_aftersale_status_label":"无售后"}]}]
         */

        private String sh_payment;
        private String sh_create_at;
        private String sh_procuct_price;
        private String sh_shipping_total;
        private String sh_discount_total;
        private String sh_bupiao_total;
        private String sh_balance_total;
        private String sh_subtotal;
        private List<ShOrdersBean> sh_orders;

        public String getSh_payment() {
            return sh_payment;
        }

        public void setSh_payment(String sh_payment) {
            this.sh_payment = sh_payment;
        }

        public String getSh_create_at() {
            return sh_create_at;
        }

        public void setSh_create_at(String sh_create_at) {
            this.sh_create_at = sh_create_at;
        }

        public String getSh_procuct_price() {
            return sh_procuct_price;
        }

        public void setSh_procuct_price(String sh_procuct_price) {
            this.sh_procuct_price = sh_procuct_price;
        }

        public String getSh_shipping_total() {
            return sh_shipping_total;
        }

        public void setSh_shipping_total(String sh_shipping_total) {
            this.sh_shipping_total = sh_shipping_total;
        }

        public String getSh_discount_total() {
            return sh_discount_total;
        }

        public void setSh_discount_total(String sh_discount_total) {
            this.sh_discount_total = sh_discount_total;
        }

        public String getSh_bupiao_total() {
            return sh_bupiao_total;
        }

        public void setSh_bupiao_total(String sh_bupiao_total) {
            this.sh_bupiao_total = sh_bupiao_total;
        }

        public String getSh_balance_total() {
            return sh_balance_total;
        }

        public void setSh_balance_total(String sh_balance_total) {
            this.sh_balance_total = sh_balance_total;
        }

        public String getSh_subtotal() {
            return sh_subtotal;
        }

        public void setSh_subtotal(String sh_subtotal) {
            this.sh_subtotal = sh_subtotal;
        }

        public List<ShOrdersBean> getSh_orders() {
            return sh_orders;
        }

        public void setSh_orders(List<ShOrdersBean> sh_orders) {
            this.sh_orders = sh_orders;
        }

        public static class ShOrdersBean {
            /**
             * sh_id : 120
             * sh_order_no : O201708071425572120
             * sh_seller : {"sh_id":21,"sh_store_name":"马迭尔","sh_status":1}
             * sh_products : [{"sh_id":149,"sh_product_id":578,"sh_name":"秒杀测试请勿改修3","sh_sku":6767676,"sh_image":"http://img1.shihanbainian.com/upload_dev/product/f/9/0/f905176a0bb09c0a90a7f5bf27c5bcc1.jpg","sh_property":[{"sh_attribute_label":"颜色","sh_alias_name":"灰色"},{"sh_attribute_label":"尺寸","sh_alias_name":"M"}],"sh_buy_qty":3,"sh_price":"12","sh_aftersale_status":0,"sh_aftersale_status_label":"无售后"}]
             */

            private String sh_id;
            private String sh_order_no;
            private ShSellerBean sh_seller;
            private List<ShProductsBean> sh_products;

            public String getSh_id() {
                return sh_id;
            }

            public void setSh_id(String sh_id) {
                this.sh_id = sh_id;
            }

            public String getSh_order_no() {
                return sh_order_no;
            }

            public void setSh_order_no(String sh_order_no) {
                this.sh_order_no = sh_order_no;
            }

            public ShSellerBean getSh_seller() {
                return sh_seller;
            }

            public void setSh_seller(ShSellerBean sh_seller) {
                this.sh_seller = sh_seller;
            }

            public List<ShProductsBean> getSh_products() {
                return sh_products;
            }

            public void setSh_products(List<ShProductsBean> sh_products) {
                this.sh_products = sh_products;
            }

            public static class ShSellerBean {
                /**
                 * sh_id : 21
                 * sh_store_name : 马迭尔
                 * sh_status : 1
                 */

                private String sh_id;
                private String sh_store_name;
                private String sh_status;

                public String getSh_id() {
                    return sh_id;
                }

                public void setSh_id(String sh_id) {
                    this.sh_id = sh_id;
                }

                public String getSh_store_name() {
                    return sh_store_name;
                }

                public void setSh_store_name(String sh_store_name) {
                    this.sh_store_name = sh_store_name;
                }

                public String getSh_status() {
                    return sh_status;
                }

                public void setSh_status(String sh_status) {
                    this.sh_status = sh_status;
                }
            }

            public static class ShProductsBean {
                /**
                 * sh_id : 149
                 * sh_product_id : 578
                 * sh_name : 秒杀测试请勿改修3
                 * sh_sku : 6767676
                 * sh_image : http://img1.shihanbainian.com/upload_dev/product/f/9/0/f905176a0bb09c0a90a7f5bf27c5bcc1.jpg
                 * sh_property : [{"sh_attribute_label":"颜色","sh_alias_name":"灰色"},{"sh_attribute_label":"尺寸","sh_alias_name":"M"}]
                 * sh_buy_qty : 3
                 * sh_price : 12
                 * sh_aftersale_status : 0
                 * sh_aftersale_status_label : 无售后
                 */

                private String sh_id;
                private String sh_product_id;
                private String sh_name;
                private String sh_sku;
                private String sh_image;
                private String sh_buy_qty;
                private String sh_price;
                private String sh_aftersale_status;
                private String sh_aftersale_status_label;
                private List<ShPropertyBean> sh_property;

                public String getSh_id() {
                    return sh_id;
                }

                public void setSh_id(String sh_id) {
                    this.sh_id = sh_id;
                }

                public String getSh_product_id() {
                    return sh_product_id;
                }

                public void setSh_product_id(String sh_product_id) {
                    this.sh_product_id = sh_product_id;
                }

                public String getSh_name() {
                    return sh_name;
                }

                public void setSh_name(String sh_name) {
                    this.sh_name = sh_name;
                }

                public String getSh_sku() {
                    return sh_sku;
                }

                public void setSh_sku(String sh_sku) {
                    this.sh_sku = sh_sku;
                }

                public String getSh_image() {
                    return sh_image;
                }

                public void setSh_image(String sh_image) {
                    this.sh_image = sh_image;
                }

                public String getSh_buy_qty() {
                    return sh_buy_qty;
                }

                public void setSh_buy_qty(String sh_buy_qty) {
                    this.sh_buy_qty = sh_buy_qty;
                }

                public String getSh_price() {
                    return sh_price;
                }

                public void setSh_price(String sh_price) {
                    this.sh_price = sh_price;
                }

                public String getSh_aftersale_status() {
                    return sh_aftersale_status;
                }

                public void setSh_aftersale_status(String sh_aftersale_status) {
                    this.sh_aftersale_status = sh_aftersale_status;
                }

                public String getSh_aftersale_status_label() {
                    return sh_aftersale_status_label;
                }

                public void setSh_aftersale_status_label(String sh_aftersale_status_label) {
                    this.sh_aftersale_status_label = sh_aftersale_status_label;
                }

                public List<ShPropertyBean> getSh_property() {
                    return sh_property;
                }

                public void setSh_property(List<ShPropertyBean> sh_property) {
                    this.sh_property = sh_property;
                }

                public static class ShPropertyBean {
                    /**
                     * sh_attribute_label : 颜色
                     * sh_alias_name : 灰色
                     */

                    private String sh_attribute_label;
                    private String sh_alias_name;

                    public String getSh_attribute_label() {
                        return sh_attribute_label;
                    }

                    public void setSh_attribute_label(String sh_attribute_label) {
                        this.sh_attribute_label = sh_attribute_label;
                    }

                    public String getSh_alias_name() {
                        return sh_alias_name;
                    }

                    public void setSh_alias_name(String sh_alias_name) {
                        this.sh_alias_name = sh_alias_name;
                    }
                }
            }
        }
    }

    public static class ArgsBean {
        /**
         * cart_num : 0
         * is_vip : 0
         */

        private String cart_num;
        private String is_vip;

        public String getCart_num() {
            return cart_num;
        }

        public void setCart_num(String cart_num) {
            this.cart_num = cart_num;
        }

        public String getIs_vip() {
            return is_vip;
        }

        public void setIs_vip(String is_vip) {
            this.is_vip = is_vip;
        }
    }
}
